#ifndef SettingForm_H
#define SettingForm_H

#include <QWidget>
#include <QButtonGroup>
namespace Ui {
class SettingForm;
}

class SettingForm : public QWidget
{
    Q_OBJECT

    enum {
        SYS_SETTING = 0,
        USER_MANAGE,
        LOG_MANAGE,
        VIDEO_MANAGE
    }SetType;

public:
    explicit SettingForm(QWidget *parent = nullptr);
    ~SettingForm();
protected slots:
   void onSwitchSetPage(int nID, bool b);

private:
    Ui::SettingForm *ui;
    QButtonGroup* m_pButtonGroup=nullptr;

    // QWidget interface
protected:
    void showEvent(QShowEvent *event);
};

#endif // SettingForm_H
